<extend name="Public:Base" />
<block name="content">
	<style type="text/css">
	li{list-style: none;display: inline-block;width: 20%;height: 30px;}
	</style>
	<div class="main-title">
		<h2>系统设置</h2>
	</div>
	<div class="data-table table-striped">
		<FORM METHOD="POST" id="form1" name="form1" ACTION="__URL__/update" id="form1">
			<TABLE class="editing_list">
				<tr>
					<td width="100" valign="top">编辑器设置</td>
					<td>
						<volist name="editorconfig" id="evo">
							<li><input type="checkbox" value="{$key}" name="editorconfig[]" id="{$key}"><label for="{$key}" >{$evo}</label></li>
						</volist>	
					</td>
				</tr>
				<TR>
					<TD>&nbsp;</TD>
					<TD>
						<INPUT TYPE="hidden" name="jumpurl" value="{$Think.server.HTTP_REFERER}">
						<input type="submit" class="btn submit-btn" value="确 认"/>
						<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
					</TD>
				</TR>
			</TABLE>
		</FORM>
		<script type="text/javascript">
		var config='{:C('EDITORCONFIG')}';
		config=config.split(',');
		for (var i = 0; i < config.length; i++) {
			var val=config[i].replace('"','').replace('"','');
			$('#'+val).attr('checked',true);
		}
		</script>
	</div>
	<div class="page"><div>{$page}</div></div>
</block>